package com.treasure.mall.biz.repository;

import com.treasure.mall.biz.entity.BaseConfigPO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 *
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.biz.repository
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/6/11 15:02
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * Copyright 2019-2022 com.treasure.mall.biz.repository Inc. All rights reserved.
 */
@Repository
public interface BaseConfigRepository extends JpaRepository<BaseConfigPO, Integer> {
    /**
     * 找到第一条配置信息
     *
     * @return
     */
    BaseConfigPO findFirstByOrderByConfigId();
}